package com.study.gupao.decorator.v1;

/**
 * @ClassName: MobileExtend
 * @Description: 手机扩展类,扩展用户需求
 * @author: Administrator
 * @Date: 2019-03-18 15:18
 */
public class MobileExtend extends Mobile{
    @Override
    protected String getName() {
        return super.getName() + "加个充电器";
    }

    @Override
    public int getPrice() {
        return super.getPrice() + 50;
    }
}
